from selenium import webdriver
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
class SellTest(object):
    def __init__(self):
        self.start_page()
    def start_page(self):
        dr = webdriver.Chrome()  # 指定上面的环境配置
        dr.implicitly_wait(10)
        dr.get("http://localhost:8080/woniusales/")
        self.dr=dr
    def login(self):
        pass
    def sell_test(self):
        self.login()
        # ....
        #....
        # 。。。判断
        pass